package com.alipay.api.request;

import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayMemberConsumeNotifyResponse;
import java.util.Map;

public class AlipayMemberConsumeNotifyRequest implements AlipayRequest {

   private AlipayHashMap udfParams;
   private String apiVersion = "1.0";
   private String actPayAmount;
   private String bizCardNo;
   private String cardInfo;
   private String externalCardNo;
   private String gainBenefitList;
   private String memo;
   private String shopCode;
   private String swipeCertType;
   private String tradeAmount;
   private String tradeName;
   private String tradeNo;
   private String tradeTime;
   private String tradeType;
   private String useBenefitList;
   private String terminalType;
   private String terminalInfo;
   private String prodCode;
   private String notifyUrl;


   public void setActPayAmount(String actPayAmount) {
      this.actPayAmount = actPayAmount;
   }

   public String getActPayAmount() {
      return this.actPayAmount;
   }

   public void setBizCardNo(String bizCardNo) {
      this.bizCardNo = bizCardNo;
   }

   public String getBizCardNo() {
      return this.bizCardNo;
   }

   public void setCardInfo(String cardInfo) {
      this.cardInfo = cardInfo;
   }

   public String getCardInfo() {
      return this.cardInfo;
   }

   public void setExternalCardNo(String externalCardNo) {
      this.externalCardNo = externalCardNo;
   }

   public String getExternalCardNo() {
      return this.externalCardNo;
   }

   public void setGainBenefitList(String gainBenefitList) {
      this.gainBenefitList = gainBenefitList;
   }

   public String getGainBenefitList() {
      return this.gainBenefitList;
   }

   public void setMemo(String memo) {
      this.memo = memo;
   }

   public String getMemo() {
      return this.memo;
   }

   public void setShopCode(String shopCode) {
      this.shopCode = shopCode;
   }

   public String getShopCode() {
      return this.shopCode;
   }

   public void setSwipeCertType(String swipeCertType) {
      this.swipeCertType = swipeCertType;
   }

   public String getSwipeCertType() {
      return this.swipeCertType;
   }

   public void setTradeAmount(String tradeAmount) {
      this.tradeAmount = tradeAmount;
   }

   public String getTradeAmount() {
      return this.tradeAmount;
   }

   public void setTradeName(String tradeName) {
      this.tradeName = tradeName;
   }

   public String getTradeName() {
      return this.tradeName;
   }

   public void setTradeNo(String tradeNo) {
      this.tradeNo = tradeNo;
   }

   public String getTradeNo() {
      return this.tradeNo;
   }

   public void setTradeTime(String tradeTime) {
      this.tradeTime = tradeTime;
   }

   public String getTradeTime() {
      return this.tradeTime;
   }

   public void setTradeType(String tradeType) {
      this.tradeType = tradeType;
   }

   public String getTradeType() {
      return this.tradeType;
   }

   public void setUseBenefitList(String useBenefitList) {
      this.useBenefitList = useBenefitList;
   }

   public String getUseBenefitList() {
      return this.useBenefitList;
   }

   public String getNotifyUrl() {
      return this.notifyUrl;
   }

   public void setNotifyUrl(String notifyUrl) {
      this.notifyUrl = notifyUrl;
   }

   public String getApiVersion() {
      return this.apiVersion;
   }

   public void setApiVersion(String apiVersion) {
      this.apiVersion = apiVersion;
   }

   public void setTerminalType(String terminalType) {
      this.terminalType = terminalType;
   }

   public String getTerminalType() {
      return this.terminalType;
   }

   public void setTerminalInfo(String terminalInfo) {
      this.terminalInfo = terminalInfo;
   }

   public String getTerminalInfo() {
      return this.terminalInfo;
   }

   public void setProdCode(String prodCode) {
      this.prodCode = prodCode;
   }

   public String getProdCode() {
      return this.prodCode;
   }

   public String getApiMethodName() {
      return "alipay.member.consume.notify";
   }

   public Map getTextParams() {
      AlipayHashMap txtParams = new AlipayHashMap();
      txtParams.put("act_pay_amount", this.actPayAmount);
      txtParams.put("biz_card_no", this.bizCardNo);
      txtParams.put("card_info", this.cardInfo);
      txtParams.put("external_card_no", this.externalCardNo);
      txtParams.put("gain_benefit_list", this.gainBenefitList);
      txtParams.put("memo", this.memo);
      txtParams.put("shop_code", this.shopCode);
      txtParams.put("swipe_cert_type", this.swipeCertType);
      txtParams.put("trade_amount", this.tradeAmount);
      txtParams.put("trade_name", this.tradeName);
      txtParams.put("trade_no", this.tradeNo);
      txtParams.put("trade_time", this.tradeTime);
      txtParams.put("trade_type", this.tradeType);
      txtParams.put("use_benefit_list", this.useBenefitList);
      if(this.udfParams != null) {
         txtParams.putAll(this.udfParams);
      }

      return txtParams;
   }

   public void putOtherTextParam(String key, String value) {
      if(this.udfParams == null) {
         this.udfParams = new AlipayHashMap();
      }

      this.udfParams.put(key, value);
   }

   public Class getResponseClass() {
      return AlipayMemberConsumeNotifyResponse.class;
   }
}
